
exports.up = function(knex) {
  return knex.schema.createTable('page-spec', (table) => {
    table.increments();
    table.string('desc').notNullable();
    table.string('key').notNullable();
    table.string('page-type').notNullable();
    table.json('page-content').notNullable();
    table.json('link-to').notNullable();
  });
};

exports.down = function(knex) {
  return knex.schema.dropTable('page-spec');
};
